import {Image, StyleSheet} from "react-native";

export default function ({selectedImage, placeholderImage}) {
    let source = selectedImage || placeholderImage;
    return <Image source={source} style={styles.image}/>
}
const styles = StyleSheet.create({
    image: {
        width: 320,
        height: 440,
        borderRadius: 18,
    },
});